17. Lesson Conclusion
Lesson Conclusion
ND079 JPND C2 L04 A15 Lesson Conclusion V2
We covered a lot of ground in this lesson!
- You learned the basics of adding annotations to your code, defining your own annotations, and using them to add functionality at runtime.
- You learned how to use Java's reflection API to inspect the program's structure, and how to use reflection to look for annotations, inspect classes, and more.
- You also learned about dynamic coding techniques, such as: invoking
Method
objects at runtime, using dynamic proxy, and loading class byte code using customClassLoader
s.
By applying these advanced techniques tastefully, you can make your programs flexible, extensible, and dynamic.